// File:    defs.h
// Author:  Brian Vanderburg II
// Purpose: Definitions for ExprEval
//------------------------------------------------------------------------------

#ifndef __EXPREVAL_DEFS_H
#define __EXPREVAL_DEFS_H

#include <cmath>
#include <limits>

namespace ExprEval
{
    // constants
    const double EXPREVAL_PI = 3.14159265358979323846;
    const double EXPREVAL_E  = 2.7182818284590452354;
    const double TOLERANCE = 1.e-100;
    const double INF_VALUE = std::numeric_limits <double>::max()*1.e-10;
    
    inline bool equal_eps (const double v1, const double v2);
    inline double sign (const double value);
    
} // namespace ExprEval

#include "defs.inl"

#endif // __EXPREVAL_DEFS_H

